<!DOCTYPE html>
<html lang='en'>

<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <title>Document</title>
    <script type='text/javascript' src='js/vue.js'></script>
</head>

<body>
    <div id='app'>
        {{msg}}
        <aa>
            <template slot="aaa">
                <p>111111</p>
                <p>22222</p>
            </template>
            <p>66666</p>
            <p>777777</p>
            <template slot="cc">
                <p>444444</p>
                <p>55555</p>
            </template>
        </aa>
    </div>
    <script type='text/javascript'>
        Vue.component('aa', {
            template: `
            <div>
                <slot name="aaa"></slot>
                <slot></slot>
                <slot name="cc"></slot>
            </div>`,
        })
        var vm = new Vue({
            el: '#app',
            data: {
                msg: 'Hello Vue',
            }
        });
    </script>
</body>

</html>